import jdRow from './jd-row';
import jdCol from './jd-col';
import jdTab from './jd-tab';
import jdTabPane from './jd-tabPane';
import jdSpan from './jd-span';
import jdSpace from './jd-space';
import jdDivider from './jd-divider';
import jdAlert from './jd-alert';
import jdInput from './jd-input';
import jdTextarea from './jd-textarea';
import jdEditor from './jd-editor';
import jdEmail from './jd-email';
import jdIdcard from './jd-idcard';
import jdMoney from './jd-money';
import jdMobile from './jd-mobile';
import jdPhone from './jd-phone';
import jdNumber from './jd-number';
import jdCarnumber from './jd-carnumber';
import jdSelect from './jd-select';
import jdTreeselect from './jd-treeselect';
import jdDate from './jd-date';
import jdOrg from './jd-org';
import jdCity from './jd-city';
import jdData from './jd-data';
import jdSubData from './jd-subData';
import jdCascader from './jd-cascader ';
import JdApprover from './jd-approver';
import jdUpload from './jd-upload';
import jdRate from './jd-rate';
import jdRadio from './jd-radio';
import jdCheckbox from './jd-checkbox';
import jdSwitch from './jd-switch';
import jdSignBoard from './jd-signBoard';
import jdLink from './jd-link';

const ruleList = {
    [jdRow.name]: jdRow,
    [jdCol.name]: jdCol,
    [jdTab.name]: jdTab,
    [jdTabPane.name]: jdTabPane,
    [jdSpan.name]: jdSpan,
    [jdSpace.name]: jdSpace,
    [jdDivider.name]: jdDivider,
    [jdAlert.name]: jdAlert,
    [jdInput.name]: jdInput,
    [jdTextarea.name]: jdTextarea,
    [jdEditor.name]: jdEditor,
    [jdEmail.name]: jdEmail,
    [jdIdcard.name]: jdIdcard,
    [jdMoney.name]: jdMoney,
    [jdMobile.name]: jdMobile,
    [jdPhone.name]: jdPhone,
    [jdNumber.name]: jdNumber,
    [jdCarnumber.name]: jdCarnumber,
    [jdSelect.name]: jdSelect,
    [jdTreeselect.name]: jdTreeselect,
    [jdDate.name]: jdDate,
    [jdOrg.name]: jdOrg,
    [jdCity.name]: jdCity,
    [jdData.name]: jdData,
    [jdSubData.name]: jdSubData,
    [jdCascader.name]: jdCascader,
    [JdApprover.name]: JdApprover,
    [jdUpload.name]: jdUpload,
    [jdRate.name]: jdRate,
    [jdRadio.name]: jdRadio,
    [jdCheckbox.name]: jdCheckbox,
    [jdSwitch.name]: jdSwitch,
    [jdSignBoard.name]: jdSignBoard,
    [jdLink.name]: jdLink
};

const convertList = {
    [jdInput.name]: jdInput,
    [jdTextarea.name]: jdTextarea,
    [jdEditor.name]: jdEditor,
    [jdEmail.name]: jdEmail,
    [jdIdcard.name]: jdIdcard,
    [jdMoney.name]: jdMoney,
    [jdMobile.name]: jdMobile,
    [jdPhone.name]: jdPhone,
    [jdNumber.name]: jdNumber,
    [jdCarnumber.name]: jdCarnumber,
    [jdSelect.name]: jdSelect,
    [jdTreeselect.name]: jdTreeselect,
    [jdDate.name]: jdDate,
    [jdOrg.name]: jdOrg,
    [jdCity.name]: jdCity,
    [jdData.name]: jdData,
    [jdCascader.name]: jdCascader,
    [JdApprover.name]: JdApprover,
    [jdUpload.name]: jdUpload,
    [jdRate.name]: jdRate,
    [jdRadio.name]: jdRadio,
    [jdCheckbox.name]: jdCheckbox,
    [jdSwitch.name]: jdSwitch,
    [jdSignBoard.name]: jdSignBoard
};

export { ruleList, convertList };
